<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:vates="http://vates.com/facelets">
<h:head>
</h:head>
<h:body>
	<h:form>
		<h:dataTable id="users"
			value="#{userListBean.users}" var="user">
			<h:column >
				<f:facet name="header" >
					Username
				</f:facet>
				<h:commandLink action="#{userBean.editUser(user.id)}">#{user.firstName}</h:commandLink>
			</h:column>
			<h:column>
				<f:facet name="header">
					LastName
				</f:facet>
				<h:outputText value="#{user.lastName}" />
			</h:column>
			<h:column>
				<f:facet name="header">
					firstName
				</f:facet>
				<h:outputText value="#{user.firstName}" />
			</h:column>
		</h:dataTable>
	</h:form>
</h:body>
</html>